﻿<UserControl x:Class="ConfigurationSetupUtility.Screens.ApplyConfigurationChangesScreen"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" MaxWidth="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=FrameworkElement, AncestorLevel=1}, Path=ActualWidth}">
    <DockPanel>
        <Label Content="Apply configuration changes" DockPanel.Dock="Top" Margin="10" HorizontalContentAlignment="Center" FontSize="16" FontWeight="Bold" />
        <StackPanel DockPanel.Dock="Bottom">
            <TextBlock Height="23" Text="Apply configuration changes to:" Margin="10" TextWrapping="Wrap" TextAlignment="Center" />
            <StackPanel HorizontalAlignment="Center" Width="220">
                <CheckBox Content="PDQTracker Windows service" Height="16" IsChecked="True" HorizontalAlignment="Left" Checked="PDQTrackerServiceCheckBox_Checked" Unchecked="PDQTrackerServiceCheckBox_Unchecked" Name="m_PDQTrackerServiceCheckBox" />
                <CheckBox Content="PDQTracker Manager (local application)" Height="16" IsChecked="True" HorizontalAlignment="Left" Checked="PDQTrackerManagerLocalCheckBox_Checked" Unchecked="PDQTrackerManagerLocalCheckBox_Unchecked" Name="m_PDQTrackerManagerLocalCheckBox" />
                <CheckBox Content="PDQTracker Manager (web application)" Height="16" IsChecked="True" HorizontalAlignment="Left" Checked="PDQTrackerManagerWebCheckBox_Checked" Unchecked="PDQTrackerManagerWebCheckBox_Unchecked" Name="m_PDQTrackerManagerWebCheckBox" />
                <Line Stretch="Fill"  Stroke="DarkGray" X2="1" Margin="0,10" Name="m_horizontalRule" />
                <CheckBox Content="Setup / change primary historian" Height="16" HorizontalAlignment="Left" Checked="SetupHistorianCheckBox_Checked" Unchecked="SetupHistorianCheckBox_Unchecked" Name="m_setupHistorianCheckBox" />
            </StackPanel>
        </StackPanel>
    </DockPanel>
</UserControl>
